WPF and Silverlight Edition Basic Library > TabControl > TabControl Features > Tab Shaping |
Tabs can appear rounded, sloped, or rectangular. By default, the tab will appear rounded, but you can change the shape of the tabs to any of the three settings by setting the C1TabControl.TabItemShape property to Rectangle, Rounded, or Sloped.
Rectangle
Rounded
Sloped
To change the tab shape, use one of the following methods:
Add TabItemShape="Sloped" to the <c1:C1TabControl> tag so that the markup resembles the following:
XAML |
Copy Code
|
---|---|
<c1:C1TabControl TabItemShape="Sloped"></c1:C1TabControl>
|
Complete the following steps:
Visual Basic Copy Code C1TabControl1.TabItemShape = Sloped
C# Copy Code c1TabControl1.TabItemShape = Sloped;
Complete the following steps:
The image below depicts a C1TabControl control with sloped tabs.